home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Mac OS USB DDK / Examples / PrinterClassDriver / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  1999-02-10  |  745 b   |  32 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6.  
  7.  
  8.     Copyright:    © 1991-1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History:
  11.  
  12.         18 Mar 98     gp        Added
  13.  
  14.     To Do:
  15. */
  16.  
  17. #include "Chooser.h"
  18.  
  19. /**************************************************************************************
  20.     Note:    Main must get linked at the very beginning of the first file because
  21.             the jump table must be the first entry in the PACK resource. This
  22.             means that no headers that contain linked routines (eg, inlines)
  23.             can be included before this routine.
  24.  **************************************************************************************/
  25. asm void main(void);
  26. asm void main(void)
  27. {
  28.         // Jump Table
  29.         jmp        Chooser
  30. };
  31.  
  32.